package com.nuoniu.sibanyun.mapper.erp.barcode;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuoniu.sibanyun.entity.erp.barcode.ErpBarcodeRuleContent;
import com.nuoniu.sibanyun.entity.vo.ErpBarcodeRuleContentVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 白强
 * @since 2021-11-08
 */
public interface ErpBarcodeRuleContentMapper extends BaseMapper<ErpBarcodeRuleContent> {

    /**
     * 根据规则ID 查询 规则内容
     * @param ruleId
     * @param companyId
     * @return
     */
    List<ErpBarcodeRuleContentVo> listErpBarcodeRuleContentVo(Long ruleId,String voucherTypeCode,Integer companyId);

}
